|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.interactions.core.support.Widget
org.eclipse.vtp.framework.interactions.voice.vxml.Output
org.eclipse.vtp.framework.interactions.voice.vxml.OutputSet
org.eclipse.vtp.framework.interactions.voice.vxml.AudioOutput
public class AudioOutput
The AudioOutput class represents the <audio> VXML
element and specifies the location of an audio file to be played to the
caller.
An AudioOutput can only be contained by the Prompt and Choice
elements. All other output must be some combination of BasicOutput or its
subclasses.
| Field Summary | |
|---|---|
protected java.lang.String |
audioFileURI
The URI of the audio file to play to the caller. |
| Constructor Summary | |
|---|---|
AudioOutput(java.lang.String audioFileURI)
Creates a new instance of AudioOutput with the specified
audio file URI. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAudioFileURI()
Returns the URI of the audio file to be played to the caller. |
void |
setAudioFileURI(java.lang.String audioFileURI)
Sets the URI of the audio file to be played to the caller. |
protected void |
writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
Write the attribute members of this condition to the supplied set. |
void |
writeWidget(org.xml.sax.ContentHandler outputHandler)
Writes the content of this widget to an XML content handler. |
| Methods inherited from class org.eclipse.vtp.framework.interactions.voice.vxml.OutputSet |
|---|
addOutput, getOutputs, removeOutput, writeOutputs |
| Methods inherited from class org.eclipse.vtp.framework.interactions.core.support.Widget |
|---|
toString, writeAttribute, writeChildren, writeChildren, writeWidget, writeWidget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String audioFileURI
| Constructor Detail |
|---|
public AudioOutput(java.lang.String audioFileURI)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
AudioOutput with the specified
audio file URI. The URI passed in may be a string literal or an expression
that will evaluate to the desired string literal.
audioFileURI - The URI of the audio file to play to the caller.
java.lang.IllegalArgumentException - If the supplied URI is empty.
java.lang.NullPointerException - If the supplied URI is null.| Method Detail |
|---|
public java.lang.String getAudioFileURI()
public void setAudioFileURI(java.lang.String audioFileURI)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
audioFileURI - The new URI of the audio file.
java.lang.IllegalArgumentException - If the supplied URI is empty.
java.lang.NullPointerException - If the supplied URI is null.
public void writeWidget(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
Widget
writeWidget in class OutputSetoutputHandler - The handler to write this widget to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of this widget fails.protected void writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
attributes - The attribute set to write to.
java.lang.NullPointerException - If the supplied attribute set is
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||